/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

/* Header and links */
a {
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
}

a:hover {
    text-decoration: underline;
}

/* Accordion styles */
.accordion {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 15px;
    font-size: 18px;
    border: none;
    text-align: left;
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.accordion:hover {
    background-color: #0056b3;
}

.accordion-content {
    display: none;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 10px;
    border-radius: 5px;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 16px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
select,
input[type="file"] {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #218838;
}

button[type="button"] {
    background-color: #007bff;
}

button[type="button"]:hover {
    background-color: #0056b3;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Add some spacing */
#deleteFormInfo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#deleteCourseButton {
    background-color: #dc3545;
    width: auto;
}

#deleteCourseButton:hover {
    background-color: #c82333;
}
